/** 
 * 文 件 名:SportRecord.java
 * Copyright (C) 2007-2012:杭州希禾信息技术有限公司 版权所有 
 * 创 建 人:刘绍辉
 * 日    期:2012-3-12 下午12:09:00
 * 修 改 人: 
 * 日   期:
 * 修改描述:
 * 描   述:TODO
 */
package net.seehealth.healthpad.model.upload;

import net.seehealth.healthpad.application.base.BaseModel;
/**
 * @className SportRecord
 * @author 刘绍辉
 * @description 运动记录
 * @date 2012-3-14 下午14:09:00
 */
public class SportRecord extends BaseModel {
	/**
	 * 主键ID
	 */
	private Integer srid;
	/**
	 * 用户ID
	 */
	private Integer userID;
	/**
	 * 运动时间
	 */
	private Integer sportTime;
	/**
	 * 消耗能量
	 */
	private float waste;
	/**
	 * 运动项目编码
	 */
	private String sportCode;
	/**
	 * 运动类型编码
	 */
	private String sportTypeCode;
	/**
	 * 记录日期
	 */
	private String recordTime;
	/**
	 *  empty constructor
	 */
	public SportRecord(){}
	/**
	 * full constructor
	 * @param srid
	 * @param userID
	 * @param sportTime
	 * @param waste
	 * @param sportCode
	 * @param sportTypeCode
	 * @param recordTime
	 */
	public SportRecord(Integer srid, Integer userID, Integer sportTime,
			float waste, String sportCode, String sportTypeCode,
			String recordTime) {
		super();
		this.srid = srid;
		this.userID = userID;
		this.sportTime = sportTime;
		this.waste = waste;
		this.sportCode = sportCode;
		this.sportTypeCode = sportTypeCode;
		this.recordTime = recordTime;
	}
	@Override
	public String toString() {
		return "SportRecord [srid=" + srid + ", userID=" + userID
				+ ", sportTime=" + sportTime + ", waste=" + waste
				+ ", sportCode=" + sportCode + ", sportTypeCode="
				+ sportTypeCode + ", recordTime=" + recordTime + "]";
	}
	public Integer getSrid() {
		return srid;
	}
	public void setSrid(Integer srid) {
		this.srid = srid;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public Integer getSportTime() {
		return sportTime;
	}
	public void setSportTime(Integer sportTime) {
		this.sportTime = sportTime;
	}
	public float getWaste() {
		return waste;
	}
	public void setWaste(float waste) {
		this.waste = waste;
	}
	public String getSportCode() {
		return sportCode;
	}
	public void setSportCode(String sportCode) {
		this.sportCode = sportCode;
	}
	public String getSportTypeCode() {
		return sportTypeCode;
	}
	public void setSportTypeCode(String sportTypeCode) {
		this.sportTypeCode = sportTypeCode;
	}
	public String getRecordTime() {
		return recordTime;
	}
	public void setRecordTime(String recordTime) {
		this.recordTime = recordTime;
	}
	
}
